#include"Delay.h"
#include"led.h"
#include"tim5.h"
#include "usart.h"
#include"tim4.h"
uint16_t led[]={LED1,LED2,LED3};
int main()
{
   LED_init();
   tim5_init();
   tim5_start();
   tim4_init();
   tim4_start();
   usart_init();
   printf("aa");
   while(1)
   {
       Delay_ms(500);
       printf("%dHz\t%.2f%%",pwm_freq(),pwm_duty()*100);
   }
}

